import pandas as pd

det1 = pd.read_csv('pred-csv-fu/tf_efficientnetv2_s_in21ft1k/k10-vot-flip.csv').to_dict()
# det1 = pd.read_csv('pred-csv/pred-fold-0.csv').to_dict()
det2 = pd.read_csv('pred-csv-fu/tf_efficientnetv2_s_in21ft1k-pseude/k10-vot-flip.csv').to_dict()

differ = set(det1['category_id'].items()) ^ set(det2['category_id'].items())
print(differ)

differ_dict = dict(differ)
print(len(differ_dict))

# 0 3 16
# 3 5 18
# 0 5 20
